Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

run_once

time.Clock.run_once

(t time.this.instant, code Function unit)
 => 
bool
[Abstract feature]
run the given code once at the provided instant within the current thread

In case the instant is in the past, do not run the code. In case the instant is
in the future, wait until this clock reached the time specified by instant.

return true if the code was actually run, false if the given time `t` is already
in the past.
0.097dev (GIT hash 6a5de4939ddf29875c1d9a706508d9bfd0cd7ca9)
last changed: 2026-06-09